/* 进入动画 */
.route-enter {
  transform: translateX(100%);
  opacity: 0;
}
.route-enter-active {
  transform: translateX(0);
  opacity: 1;
  transition: all 300ms ease-in;
}

/* 离开动画 */
.route-exit {
  transform: translateX(0);
  opacity: 1;
}
.route-exit-active {
  transform: translateX(-100%);
  opacity: 0;
  transition: all 300ms ease-out;
}
